import request from '@/utils/request'

// 查询订单数据统计
export function getOrderData(query) {
  return request({
    url: '/data/statistics/neworderstatistics',
    method: 'get',
    params: query
  })
}


// 查询用户数据统计
export function getUserData(query) {
  return request({
    url: '/data/statistics/newuserstatistics',
    method: 'get',
    params: query
  })
}

// 查询商品数据统计
export function getProductData(query) {
  return request({
    url: '/data/statistics/newproductstatistics',
    method: 'get',
    params: query
  })
}

//金额统计图
export function getMoneyData(query) {
  return request({
    url: '/data/statistics/newmoneystatistics',
    method: 'get',
    params: query
  })
}


